package cn.com.mapper;

import cn.com.beans.AccountInfo;

import java.util.List;

public interface AccountInfoMapper {


    List<AccountInfo> selectByPhone(String phone);

    List<AccountInfo> selectByPhoneAndPwd(AccountInfo accountInfo);

    int deleteByPrimaryKey(Integer aId);

    int insert(AccountInfo accountInfo);

    int insertSelective(AccountInfo record);

    AccountInfo selectByPrimaryKey(Integer aId);

    int updateByPrimaryKeySelective(AccountInfo record);

    int updateByPrimaryKey(AccountInfo accountInfo);

//    int updatepasswordByPhone(String phone,String password);
}